﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using Sisocana.Core.Interfaces;

namespace Sisocana.Core.Models
{
    public class MasterPageCatModel : IMasterPageCatModel
    {
        [DisplayName("Name")]
        [Required(ErrorMessage = "Master page name required")]
        [StringLength(100, MinimumLength = 3, ErrorMessage = "The minimum length is 3 and the maximum length is 100")]
        public String nombreMaster { get; set; }
        [DisplayName("Description")]
        [Required(ErrorMessage = "Master page description required")]
        [StringLength(100, MinimumLength = 3, ErrorMessage = "The minimum length is 6 and the maximum length is 100")]
        public String descripcion { get; set; }
        [DisplayName("Path")]
        public String path { get; set; }

    }
}
